Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simpler "retval" heuristic #3271

Merged
merged 1 commit into from
Sep 12, 2024
Merged

Simpler "retval" heuristic #3271

merged 1 commit into from
Sep 12, 2024

Conversation

kennykerr
Copy link
Collaborator

Win32 callbacks are defined as Option<T> so this can lead to double-wrapping when such an output parameter is returned as a Result<T> but it's so rare and only effects a handful of GetExtensionFunctionXxx functions I don't think it's worth specializing this corner case in general. It's also not arguably "better" as an output parameter.

@kennykerr kennykerr merged commit dd37c55 into master Sep 12, 2024
79 checks passed
@kennykerr kennykerr deleted the bindgen-simpler branch September 12, 2024 18:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant